package com.dks.repository;

import java.util.*;
import com.dks.models.RecordDate;
import com.dks.result.ResultModel;

public interface IRecordDateRepository {

    ResultModel<Boolean> insert(RecordDate recordDate);

    ResultModel<Boolean> update(RecordDate recordDate);

    ResultModel<Boolean> delete(Integer id);

    ResultModel<Boolean> select(Integer id);

    Integer cntByMap(Map<String, Object> map);

    List<Integer> getByMap(Map<String, Object> map);

    List<RecordDate> getByMapList(Map<String, Object> map);

    ResultModel<Boolean> selectByList();
}
